package com.whmnx.main.ui.adapter;

import android.content.Context;

import com.classic.adapter.BaseAdapterHelper;
import com.classic.adapter.CommonRecyclerAdapter;
import com.whmnx.main.R;

/**
 * author : huang
 * date   : 2020/10/19 0019 9:17
 * version: 1.0
 * @author Administrator
 */
public class ListAdapter2 extends CommonRecyclerAdapter<String> {
    public ListAdapter2(Context context) {
        super(context, R.layout.item_array);
    }


    @Override
    public void onUpdate(BaseAdapterHelper helper, String item, int position) {
        helper.setText(R.id.tv, (String) item);

    }
}
